﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace AltimilliaLibrary
{
  public class Frame
  {
    private Rectangle rectangle;
    private float rotation;
    private SpriteEffects spriteEffects;
    public int index { get; set; }

    public Frame(Rectangle rectangle, float rotation, SpriteEffects effects)
    {
      this.rectangle = rectangle;
      this.rotation = rotation;
      this.spriteEffects = effects;
    }
    public Frame(int index, float rotation, SpriteEffects effects)
    {
      this.index = index;
      this.rotation = rotation;
      this.spriteEffects = effects;
    }
    public Rectangle Rectangle
    {
      get
      {
        return rectangle;
      }
      set
      {
        rectangle = value;
      }
    }
    public float Rotation
    {
      get
      {
        return rotation;
      }
    }
    public SpriteEffects SpriteEffects
    {
      get
      {
        return spriteEffects;
      }
    }
  }
}
